
var GameState,  SceneManager = function() {
    function t() {
        if (t.Instance) return t.Instance;
        t.Instance = this, this.__scene = new Laya.Scene();
    }
    return t.prototype.gameInit = function() {
        this.__scene.ambientColor = new Laya.Vector3(.199, .199, .199), Laya.stage.addChild(this.__scene);
    }, t.prototype.addToScene = function(t) {
        this.__scene.addChild(t);
    }, t;
}(), PathManager = function() {

    // radish 场景管理  初始化场景
    function t() {
        if (this.__boxColorCount = 7, 
            this.__boxColors = [ new Laya.Vector4(.737, .157, .286, 1), new Laya.Vector4(.29, .467, .471, 1), new Laya.Vector4(1, .729, .435, 1), new Laya.Vector4(0, .494, .745, 1), new Laya.Vector4(.729, .4, .537, 1), new Laya.Vector4(.859, .553, .255, 1), new Laya.Vector4(.239, .678, .761, 1) ], 
        this.__boxColorIndex = 0, this.__curBoxColor = new Laya.Vector4(), this.__nextBoxColor = new Laya.Vector4(), 
        this.__changeBColorTimer = 0, this.__changeBColorTime = 3, this.__canChangeBColor = !1, 
        this.__boxCount = 16, this.__boxPool = new Array(), this.__boxIndex = 0, this.__childrenCount = 16, 
        this.__childrenPool = new Array(), this.__childIndex = 0, this.__crossCount = 12, 
        this.__crossPool = new Array(), this.__crossIndex = 0, this.__coinsCount = 5, this.__coinsPool = new Array(), 
        this.__coinsIndex = 0, this.__coinsOffset = new Laya.Vector3(.1, .3, .1), this.__minCoinsDis = 9, 
        this.__offsetCoinDis = 6, this.__coinDisCounter = 0, this.__dropCount = 4, this.__dropTimer = 0, 
        this.__dropDelay = .4, this.__dropIndex = 0, this.__hStep = .5, this.__vStep = .25, 
        this.__dropHeight = 4, this.__initCount = 6, this.__spanXDir = !1, this.__lastDir = !1, 
        this.__lastCount = 0, this.__crossTimes = 0, this.__nextPos = new Laya.Vector3(), 
        t.Instance) return t.Instance;
        t.Instance = this;
    }
    return Object.defineProperty(t.prototype, "boxCount", {
        get: function() {
            return this.__boxCount;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "boxPool", {
        get: function() {
            return this.__boxPool;
        },
        enumerable: !0,
        configurable: !0
    }), t.prototype.__initSpanBox = function() {
        for (var t = 0; t < this.__initCount; t++) {
            var e = {
                pos: new Laya.Vector3(),
                nextPos: new Laya.Vector3(),
                xDir: !1,
                hasChildren: !1,
                childrenNode: null,
                childrenPos: new Laya.Vector3(),
                nextChildrenPos: new Laya.Vector3(),
                hit: !1,
                cross: !1
            }, i = this.__boxPool[this.__boxIndex];
            // radish === 初始化盒子
            e.xDir = this.__spanXDir, 0 !== t && (this.__spanXDir ? this.__nextPos.x -= this.__hStep : this.__nextPos.z -= this.__hStep, 
            this.__nextPos.y += this.__vStep, this.__spanXDir = Math.random() > .5), this.__nextPos.cloneTo(e.pos), 
            this.__nextPos.cloneTo(e.nextPos), i.reset(e), this.__boxIndex++;
            console.log(' === 初始化盒子  有可能会出现都在同一排 __initSpanBox=', this.__spanXDir);
        }
    }, t.prototype.__createPrefabs = function() {
        var t = new Laya.Vector3(.227, .227, .227);
        this.__boxMat = new Laya.BlinnPhongMaterial(), this.__boxColorIndex = Math.floor(Math.random() * this.__boxColorCount), 
        this.__boxColors[this.__boxColorIndex].cloneTo(this.__curBoxColor), this.__boxMat.albedoColor = this.__curBoxColor, 
        this.__boxMat.specularColor = t;

        for (var e = new Laya.BoxMesh(1, 1, 1), i = new Laya.PlaneMesh(1, 1, 1, 1), 
        n = 0; n < this.__boxCount; n++) {
            (m = new Laya.MeshSprite3D(e)).meshRender.material = this.__boxMat, 
            m.transform.localScale = new Laya.Vector3(this.__hStep, this.__vStep, this.__hStep), 
            m.active = !1, SceneManager.Instance.addToScene(m);
            var r = new NodeControl(m);
            this.__boxPool.push(r);
        }
        console.log(' === __createPrefabs ===',this.__boxPool)
        var a = new OpacityMaterial();
        a.opacityTexture = Laya.Texture2D.load("res/textures/2.png");
        for (n = 0; n < this.__crossCount; n++) {
            if ((m = new Laya.MeshSprite3D(e)).meshRender.material = this.__boxMat, m.transform.localScale = new Laya.Vector3(this.__hStep, this.__vStep, this.__hStep), 
            m.active = !1, SceneManager.Instance.addToScene(m), this.__crossPool.push(m), n % 4 == 0) {
                var s = new Laya.MeshSprite3D(i);
                s.meshRender.material = a, s.transform.localScale = new Laya.Vector3(.7, 1, 1.3), 
                s.transform.localPosition = new Laya.Vector3(0, 1, 0), s.transform.localRotationEuler = new Laya.Vector3(55, 45, 0), 
                m.addChild(s);
            }
        }
        for (var o = [ {
            url: "res/textures/1.png",
            color: new Laya.Vector4(.071, .643, .792, 1),
            scale: new Laya.Vector3(1.1, 1, 1.6),
            pos: new Laya.Vector3(.33, .56, .3)
        }, {
            url: "res/textures/3.png",
            color: new Laya.Vector4(.78, .945, .918, 1),
            scale: new Laya.Vector3(1, 1, 1.7),
            pos: new Laya.Vector3(.1, 1.01, 0)
        }, {
            url: "res/textures/4.png",
            color: new Laya.Vector4(.78, .945, .918, 1),
            scale: new Laya.Vector3(1, 1, 1.7),
            pos: new Laya.Vector3(.1, 1.01, 0)
        }, {
            url: "res/textures/5.png",
            color: new Laya.Vector4(.039, .965, .965, 1),
            scale: new Laya.Vector3(1, 1, 1.5),
            pos: new Laya.Vector3(.3, 1.59, .25)
        }, {
            url: "res/textures/6.png",
            color: new Laya.Vector4(.973, .396, .047, 1),
            scale: new Laya.Vector3(1.2, 1, 2.5),
            pos: new Laya.Vector3(.12, 1.91, .2)
        }, {
            url: "res/textures/7.png",
            color: new Laya.Vector4(.4, .902, .376, 1),
            scale: new Laya.Vector3(1.1, 1, 1.7),
            pos: new Laya.Vector3(.05, 1.21, .07)
        }, {
            url: "res/textures/8.png",
            color: new Laya.Vector4(.769, .875, .753, 1),
            scale: new Laya.Vector3(.8, 1, 1.8),
            pos: new Laya.Vector3(-.02, 1.21, -.03)
        }, {
            url: "res/textures/logoad.png",
            color: new Laya.Vector4(.596, .549, .529, 1),
            scale: new Laya.Vector3(.8, 1, 1.8),
            pos: new Laya.Vector3(-.08, 1.21, -.08)
        } ], n = 0; n < 8; n++) {
            var h = o[n], l = Laya.Texture2D.load(h.url), u = h.scale, c = h.color, _ = h.pos, d = new OpacityMaterial();
            d.opacityTexture = l;
            var f = new Laya.BlinnPhongMaterial();
            f.albedoColor = c, f.specularColor = t;
            for (var p = 0; p < 2; p++) {
                var m = new Laya.MeshSprite3D(e);
                m.meshRender.sharedMaterial = f, m.transform.localScale = new Laya.Vector3(this.__hStep, this.__vStep, this.__hStep), 
                m.active = !1, SceneManager.Instance.addToScene(m);
                var g = new Laya.MeshSprite3D(i);
                g.meshRender.sharedMaterial = d, g.transform.localScale = u, g.transform.localPosition = _, 
                g.transform.localRotationEuler = new Laya.Vector3(55, 45, 0), m.addChild(g), this.__childrenPool.push(m);
            }
        }
        var v = new OpacityMaterial();
        v.opacityTexture = Laya.Texture2D.load("res/textures/coin.png");
        for (n = 0; n < this.__coinsCount; n++) {
            var x = new Laya.MeshSprite3D(i);
            x.active = !1, x.meshRender.material = v, x.transform.localScale = new Laya.Vector3(.45, .45, .45), 
            x.transform.localPosition = new Laya.Vector3(0, .3, 0), x.transform.localRotationEuler = new Laya.Vector3(55, 45, 0), 
            SceneManager.Instance.addToScene(x), this.__coinsPool.push(x);
        }
    }, t.prototype.__boxColorChange = function(t) {
        this.__canChangeBColor && (this.__changeBColorTimer += t, this.__changeBColorTimer > this.__changeBColorTime ? (this.__changeBColorTimer = 0, 
        this.__canChangeBColor = !1) : (Laya.Vector4.lerp(this.__curBoxColor, this.__nextBoxColor, t, this.__curBoxColor), 
        this.__boxMat.albedoColor = this.__curBoxColor));
    }, t.prototype.__updateAllBox = function(t) {
        for (var e = 0; e < this.__boxCount; e++) {
            var i = this.__boxPool[e];
            i.active && i.update(t);
        }
    }, t.prototype.__autoDrop = function(t) {
        //  radish 自动掉落
        // this.__dropTimer += t,  这段可以不掉落
        this.__dropTimer > this.__dropDelay && (this.__boxPool[this.__dropIndex].downMove(), 
        PlayerControl.Instance.playerIndex === this.__dropIndex && PlayerControl.Instance.timeoutLose(), 
        this.__dropTimer = 0, this.__dropIndex = this.__dropIndex >= this.__boxCount - 1 ? 0 : this.__dropIndex + 1);
    }, t.prototype.__showCross = function() {
        var t = PlayerControl.Instance.playerIndex >= this.__boxCount - 4 ? 4 - (this.__boxCount - PlayerControl.Instance.playerIndex) : PlayerControl.Instance.playerIndex + 4;
        this.__boxPool[t].cross && this.__boxPool[t].scaleMove();
    }, t.prototype.__limitDrop = function() {
        (PlayerControl.Instance.playerIndex >= this.__dropIndex ? PlayerControl.Instance.playerIndex - this.__dropIndex : this.__boxCount - this.__dropIndex + PlayerControl.Instance.playerIndex) > this.__dropCount && (this.__boxPool[this.__dropIndex].downMove(), 
        this.__dropIndex = this.__dropIndex >= this.__boxCount - 1 ? 0 : this.__dropIndex + 1);
    }, t.prototype.__levelChange = function() {
        if (PlayerControl.Instance.playerSteps % 50 == 0) {
            PlayerControl.Instance.playChange();
            var t = Math.floor(Math.random() * this.__boxColorCount);
            this.__boxColorIndex = this.__boxColorIndex === t ? this.__boxColorIndex === this.__boxColorCount - 1 ? this.__boxColorIndex - 1 : this.__boxColorIndex + 1 : t, 
            this.__boxColors[this.__boxColorIndex].cloneTo(this.__nextBoxColor), this.__canChangeBColor = !0, 
            this.__dropDelay = PlayerControl.Instance.playerSteps > 150 ? .18 : PlayerControl.Instance.playerSteps > 100 ? .2 : .3;
        }
    }, t.prototype.__setCoins = function(t) {
        if (this.__coinDisCounter--, !(this.__coinDisCounter > 0)) {
            this.__coinDisCounter = Math.floor(Math.random() * this.__offsetCoinDis) + this.__minCoinsDis, 
            t.hasCoin = !0;
            var e = this.__coinsPool[this.__coinsIndex];
            e.active = !0;
            var i = new Laya.Vector3();
            Laya.Vector3.add(this.__nextPos, this.__coinsOffset, i), e.transform.localPosition = i, 
            t.coinIndex = this.__coinsIndex, this.__coinsIndex = this.__coinsIndex >= this.__coinsCount - 1 ? 0 : this.__coinsIndex + 1;
        }
    }, t.prototype.hideCoin = function(t) {
        this.__coinsPool[t].active = !1;
    }, t.prototype.spanBox = function() {
        this.__boxIndex = this.__boxIndex >= this.__boxCount ? 0 : this.__boxIndex;
        var t = {
            pos: new Laya.Vector3(),
            nextPos: new Laya.Vector3(),
            xDir: !1,
            hasChildren: !1,
            childrenNode: null,
            childrenPos: new Laya.Vector3(),
            nextChildrenPos: new Laya.Vector3(),
            hit: !1,
            cross: !1,
            hasCoin: !1,
            coinIndex: 0
        }, e = this.__boxPool[this.__boxIndex];
        if (t.xDir = this.__spanXDir, this.__crossTimes > 0) this.__crossIndex = this.__crossIndex >= this.__crossCount ? 0 : this.__crossIndex, 
        t.hasChildren = !0, t.childrenNode = this.__crossPool[this.__crossIndex], this.__nextPos.cloneTo(t.childrenPos), 
        this.__spanXDir ? (t.childrenPos.x += (4 - this.__crossTimes) * this.__hStep, t.childrenPos.z -= (5 - this.__crossTimes) * this.__hStep) : (t.childrenPos.x -= (5 - this.__crossTimes) * this.__hStep, 
        t.childrenPos.z += (4 - this.__crossTimes) * this.__hStep), t.childrenPos.y += this.__vStep, 
        t.childrenPos.cloneTo(t.nextChildrenPos), t.childrenPos.y += this.__dropHeight, 
        t.hit = !1, this.__crossTimes > 3 && (t.cross = !0, t.hit = !0), this.__spanXDir ? this.__nextPos.x -= this.__hStep : this.__nextPos.z -= this.__hStep, 
        this.__nextPos.y += this.__vStep, this.__nextPos.cloneTo(t.pos), t.pos.cloneTo(t.nextPos), 
        t.pos.y += this.__dropHeight, this.__crossIndex++, this.__crossTimes--; else {
            var i = Math.random() > .8;
            i && (this.__crossTimes = 4);
            var n = !i && Math.random() > .5;
            if (n) {
                this.__childIndex = this.__childIndex >= this.__childrenCount ? 0 : this.__childIndex, 
                t.hasChildren = n, t.childrenNode = this.__childrenPool[this.__childIndex], this.__nextPos.cloneTo(t.childrenPos), 
                this.__spanXDir ? t.childrenPos.z -= this.__hStep : t.childrenPos.x -= this.__hStep, 
                t.childrenPos.y += this.__vStep;
                var r = Math.random() > .5;
                if (!r) {
                    var a = Math.floor(3 * Math.random() + 1);
                    this.__spanXDir ? t.childrenPos.z -= a * this.__hStep : t.childrenPos.x -= a * this.__hStep;
                }
                t.hit = r, t.childrenPos.cloneTo(t.nextChildrenPos), t.childrenPos.y += this.__dropHeight, 
                this.__childIndex++;
            }
            this.__spanXDir ? this.__nextPos.x -= this.__hStep : this.__nextPos.z -= this.__hStep, 
            this.__nextPos.y += this.__vStep, this.__nextPos.cloneTo(t.pos), t.pos.cloneTo(t.nextPos), 
            t.pos.y += this.__dropHeight, this.__spanXDir = Math.random() > .5, (this.__spanXDir && this.__lastDir || !this.__spanXDir && !this.__lastDir) && (this.__lastCount++, 
            this.__lastCount > 3 && (this.__lastCount = 0, this.__spanXDir = !this.__spanXDir)), 
            this.__lastDir = this.__spanXDir;
        }
        this.__setCoins(t), e.reset(t), e.upMove(), this.__boxIndex++, this.__showCross(), 
        this.__limitDrop(), this.__levelChange();
    }, t.prototype.gameInit = function() {
        this.__createPrefabs(), this.__initSpanBox();
    }, t.prototype.showCross = function() {
        this.__showCross();
    }, t.prototype.gameUpdate = function(t) {
        this.__updateAllBox(t), this.__boxColorChange(t), GameManager.Instance.gameState === GameState.PLAYING && this.__autoDrop(t);
    }, t.prototype.gameReborn = function() {
        this.__dropTimer = -2;
        (this.__boxIndex >= PlayerControl.Instance.playerIndex ? this.__boxIndex - PlayerControl.Instance.playerIndex : this.__boxCount - PlayerControl.Instance.playerIndex + this.__boxIndex) < 6 && this.spanBox();
    }, t.prototype.gameReset = function() {
        this.__dropIndex = 0, this.__dropTimer = 0, this.__dropDelay = .4, this.__boxIndex = 0, 
        this.__crossIndex = 0, this.__childIndex = 0, this.__coinsIndex = 0, this.__crossTimes = 0, 
        this.__nextPos.toDefault(), this.__canChangeBColor = !1, this.__spanXDir = !1, this.__lastDir = this.__spanXDir, 
        this.__lastCount = 0, this.__boxColorIndex = Math.floor(Math.random() * this.__boxColorCount), 
        this.__boxColors[this.__boxColorIndex].cloneTo(this.__curBoxColor), this.__boxMat.albedoColor = this.__curBoxColor;
        for (t = 0; t < this.__boxCount; t++) this.__boxPool[t].init();
        for (t = 0; t < this.__childrenCount; t++) this.__childrenPool[t].active = !1;
        for (t = 0; t < this.__crossCount; t++) this.__crossPool[t].active = !1;
        for (var t = 0; t < this.__coinsCount; t++) this.__coinsPool[t].active = !1;
        this.__initSpanBox();
    }, t;
}();

!function(t) {
    t[t.IDLE = 0] = "IDLE", t[t.START = 1] = "START", t[t.PLAYING = 2] = "PLAYING", 
    t[t.END = 3] = "END";
}(GameState || (GameState = {}));

var LoseState, GameManager = function() {
    function t() {
        if (this.__gameScore = 0, this.__pixelRatio = 1, t.Instance) return t.Instance;
        if (t.Instance = this, Laya.MiniAdpter.init(), Laya3D.init(0, 0, !0), Laya.stage.scaleMode = Laya.Stage.SCALE_FULL, 
        Laya.stage.screenMode = Laya.Stage.SCREEN_NONE, Laya.RunDriver.getPixelRatio = function() {
            return this.pixelRatio;
        }.bind(this), OpacityMaterial.initShader(), this.__gameData = new GameData(), this.__resourceManager = new ResourceManager(), 
        this.__soundManager = new SoundManager(), this.__sceneManager = new SceneManager(), 
        this.__uiManager = new UIManager(), this.__cameraFollow = new CameraFollow(), this.__playerControl = new PlayerControl(), 
        this.__pathManager = new PathManager(), this.__gameState = GameState.IDLE, this.__pixelRatio = 2, 
        Laya.Browser.onMiniGame) {
            wx.getSystemInfoSync().benchmarkLevel < 1 ? this.__pixelRatio = 1 : this.__pixelRatio = 2;
        }
        this.changePixelRatio(this.__pixelRatio);
    }
    return Object.defineProperty(t.prototype, "gameState", {
        get: function() {
            return this.__gameState;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "pixelRatio", {
        get: function() {
            return this.__pixelRatio;
        },
        set: function(t) {
            t = Math.max(Math.min(t, window.devicePixelRatio), .5), this.__pixelRatio = t, Laya.stage.event(Laya.Event.RESIZE);
        },
        enumerable: !0,
        configurable: !0
    }), t.prototype.gameInit = function() {
        this.__soundManager.gameInit(), this.__sceneManager.gameInit(), this.__pathManager.gameInit(), 
        this.__cameraFollow.gameInit(), this.__playerControl.gameInit(), this.__uiManager.gameInit(), 
        // radish 游戏初始化。循环的时候调用
        Laya.timer.frameLoop(1, this, this.gameUpdate), this.__resourceManager.clearLoaidngRes();
    }, t.prototype.gameUpdate = function() {
        var t = Laya.timer.delta / 1e3;
        t > .1 && (t = .1), t < 0 && (t = 0), this.__pathManager.gameUpdate(t), this.__playerControl.gameUpdate(t), 
        this.__cameraFollow.gameUpdate(t);
    }, t.prototype.gameScoreChange = function(t) {
        this.__gameScore += t, this.__gameData.score = this.__gameScore, UIManager.Instance.showScoreChange(this.__gameScore);
    }, t.prototype.gameIdle = function() {
        this.__gameState = GameState.IDLE;
    }, t.prototype.gameStart = function() {
        this.__gameState = GameState.START;
    }, t.prototype.gameEnd = function() {
        this.__gameState = GameState.END, this.__uiManager.showGameEnd();
    }, t.prototype.showGroupRank = function() {
        this.__gameState = GameState.END;
    }, t.prototype.gamePlayGame = function() {
        this.__gameState = GameState.PLAYING, this.__uiManager.hideTips();
    }, t.prototype.gameReborn = function() {
        this.__gameState = GameState.START, this.__playerControl.gameReborn(), this.__pathManager.gameReborn(), 
        this.__cameraFollow.gameReborn();
    }, t.prototype.gameReset = function() {
        this.__gameState = GameState.START, this.__pathManager.gameReset(), this.__cameraFollow.gameReset(), 
        this.__playerControl.gameReset(), this.__reset();
    }, t.prototype.__reset = function() {
        this.__gameScore = this.__gameData.score = 0, UIManager.Instance.showScoreChange(this.__gameScore);
    }, t.prototype.preload = function() {
        this.__resourceManager.preload();
    }, t.prototype.changePixelRatio = function(t) {
        this.pixelRatio = t, UIManager.Instance.resetScale();
    }, t.isShowBannar = !0, t;
}();

!function(t) {
    t[t.NOLOSE = -1] = "NOLOSE", t[t.HIT = 0] = "HIT", t[t.DROP = 1] = "DROP", t[t.TIMEOUT = 2] = "TIMEOUT";
}(LoseState || (LoseState = {}));

var BannerAdState, PlayerControl = function() {
    function t() {
        if (this.__initPlayerPos = new Laya.Vector3(0, 0, 0), this.__curPlayerPos = new Laya.Vector3(0, 0, 0), 
        this.__loseState = LoseState.NOLOSE, this.__initShadowPos = new Laya.Vector3(.02, .13, .05), 
        this.__curShadowPos = new Laya.Vector3(.02, .13, .05), this.__initShadowScale = new Laya.Vector3(.3, .3, .3), 
        this.__curShadowScale = new Laya.Vector3(.3, .3, .3), this.__lParticlePos = new Laya.Vector3(-.2, .6, .2), 
        this.__rParticlePos = new Laya.Vector3(.5, .8, .2), this.__jumpUp = !1, this.__jpTimer = 0, 
        this.__jpTime = .2, this.__hStep = .5, this.__vStep = .25, this.__nextDir = !1, 
        this.__nextHit = !1, this.__nextPos = new Laya.Vector3(0, 0, 0), this.__playerIndex = 0, 
        this.__playerSteps = 0, this.__canRotate = !1, this.__shadowsCount = 17, this.__shadowsTexs = [], 
        this.__shadowsScale = [ new Laya.Vector3(.35, .35, .35), new Laya.Vector3(.35, .35, .35), new Laya.Vector3(.35, .35, .35), new Laya.Vector3(.35, .35, .35), new Laya.Vector3(.35, .35, .35), new Laya.Vector3(.35, .35, .35), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3), new Laya.Vector3(.3, .3, .3) ], 
        this.__shadowsPos = [ new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0), new Laya.Vector3(0, .13, 0) ], 
        this.__playersCount = 17, this.__playersLTexs = [], this.__playersRTexs = [], this.__playersScale = [ new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.44, 1, .662), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828), new Laya.Vector3(.55, 1, .828) ], 
        this.__playersPos = [ new Laya.Vector3(.05, .4, .05), new Laya.Vector3(.05, .4, .05), new Laya.Vector3(.05, .4, .05), new Laya.Vector3(.05, .4, .05), new Laya.Vector3(.05, .4, .05), new Laya.Vector3(.05, .4, .05), new Laya.Vector3(-.05, .4, -.05), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1), new Laya.Vector3(-.1, .45, -.1) ], 
        t.Instance) return t.Instance;
        t.Instance = this, this.__playerNode = new Laya.Sprite3D(), this.__body = new Laya.MeshSprite3D(), 
        this.__playerNode.addChild(this.__body), this.__shadow = new Laya.MeshSprite3D(), 
        this.__loseState = LoseState.NOLOSE;
    }
    return Object.defineProperty(t.prototype, "PlayerNode", {
        get: function() {
            return this.__playerNode;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "loseState", {
        get: function() {
            return this.__loseState;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "playerIndex", {
        get: function() {
            return this.__playerIndex;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "playerSteps", {
        get: function() {
            return this.__playerSteps;
        },
        enumerable: !0,
        configurable: !0
    }), t.prototype.gameUpdate = function(t) {
        switch (GameManager.Instance.gameState) {
          case GameState.PLAYING:
            this.__jumpAnim(t);
            break;

          case GameState.END:
            switch (this.__loseState) {
              case LoseState.DROP:
                this.__dropAnim(t);
                break;

              case LoseState.HIT:
                this.__hitAnim(t);
                break;

              case LoseState.TIMEOUT:
                this.__timeOutAnim(t);
            }
        }
    }, t.prototype.gameInit = function() {
        this.__addControl(), this.__loadPlayerDatas(), this.__createPlayer(), this.__nextDir = PathManager.Instance.boxPool[1].xDir, 
        this.__nextHit = !1, this.__hitParticle = Laya.Utils3D._createNodeByJson(null, ResourcesConfig.hitPt, null, null), 
        this.__playerNode.addChild(this.__hitParticle);
    }, t.prototype.gameReborn = function() {
        this.__loseState = LoseState.NOLOSE, this.__body.active = !0, this.__shadow.active = !0, 
        this.__jumpUp || (this.__stepsChange(), this.__nextDir ? this.__nextPos.x -= this.__hStep : this.__nextPos.z -= this.__hStep, 
        this.__nextPos.y += this.__vStep), PathManager.Instance.showCross(), this.__jumpAnimEnd();
    }, t.prototype.gameReset = function() {
        this.__loseState = LoseState.NOLOSE, this.__playerIndex = 0, this.__playerSteps = 0, 
        this.__nextPos.toDefault(), this.__initPlayerPos.cloneTo(this.__curPlayerPos), this.__playerNode.transform.position = this.__curPlayerPos, 
        this.__body.active = !0, this.__playerMat.opacityTexture = this.__playerRTex, this.__jpTimer = 0, 
        this.__nextDir = PathManager.Instance.boxPool[1].xDir, this.__nextHit = !1, this.__jumpUp = !1, 
        this.__initShadowScale.cloneTo(this.__curShadowScale), this.__initShadowPos.cloneTo(this.__curShadowPos), 
        this.__shadow.transform.localScale = this.__curShadowScale, this.__shadow.transform.position = this.__curShadowPos, 
        this.__canRotate ? this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 45, 0) : this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 0, 0), 
        this.__shadow.active = !0, GameData.Instance.coins = 0;
    }, t.prototype.__addControl = function() {
        Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.__control);
    }, t.prototype.__control = function(t) {
        switch (GameManager.Instance.gameState) {
          case GameState.IDLE:
          case GameState.END:
            return;

          case GameState.START:
            GameManager.Instance.gamePlayGame();
        }
        var e = !1, i = t.touches;
        if (i ? i[0].stageX < Laya.Browser.width / 2 && (e = !0) : t.stageX < Laya.Browser.width / 2 && (e = !0), 
        e ? (this.__playerMat.opacityTexture = this.__playerLTex, this.__canRotate ? this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, -45, 0) : this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 0, 0)) : (this.__playerMat.opacityTexture = this.__playerRTex, 
        this.__canRotate ? this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 45, 0) : this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 0, 0)), 
        this.__jumpUp && this.__jumpAnimEnd(), this.__nextDir && e || !this.__nextDir && !e) this.__stepsChange(), 
        this.__jumpUp = !0, this.__nextDir ? this.__nextPos.x -= this.__hStep : this.__nextPos.z -= this.__hStep, 
        this.__nextPos.y += this.__vStep, PathManager.Instance.spanBox(); else if (this.__nextHit) {
            if (e) {
                this.__hitParticle.transform.localPosition = this.__lParticlePos;
                (n = this.__hitParticle.getChildAt(0)).particleSystem.simulate(0, !0), n.particleSystem.play();
            } else {
                this.__hitParticle.transform.localPosition = this.__rParticlePos;
                var n = this.__hitParticle.getChildAt(0);
                n.particleSystem.simulate(0, !0), n.particleSystem.play();
            }
            this.__hitLose();
        } else this.__dropLose();
    }, t.prototype.__stepsChange = function() {
        this.__playerSteps++, GameManager.Instance.gameScoreChange(1);
    }, t.prototype.__jumpAnim = function(t) {
        if (this.__jumpUp) if (this.__jpTimer += t, this.__jpTimer > this.__jpTime) this.__jumpAnimEnd(); else {
            this.__nextDir ? this.__curPlayerPos.x -= this.__hStep / this.__jpTime * t : this.__curPlayerPos.z -= this.__hStep / this.__jpTime * t;
            var e = .2 * (this.__jpTimer - .5 * this.__jpTime) / this.__jpTime * 2;
            this.__jpTimer > this.__jpTime / 2 ? (this.__curPlayerPos.y -= .4 / this.__jpTime * t, 
            Laya.Vector3.add(this.__nextPos, this.__initShadowPos, this.__curShadowPos), Laya.Vector3.scale(Laya.Vector3.ONE, .15 + e, this.__curShadowScale)) : (this.__curPlayerPos.y += (.4 + 2 * this.__vStep) / this.__jpTime * t, 
            Laya.Vector3.add(this.__nextPos, this.__initShadowPos, this.__curShadowPos), this.__curShadowPos.y -= this.__vStep, 
            this.__nextDir ? this.__curShadowPos.x += this.__hStep : this.__curShadowPos.z += this.__hStep, 
            Laya.Vector3.scale(Laya.Vector3.ONE, .15 - e, this.__curShadowScale)), this.__playerNode.transform.position = this.__curPlayerPos, 
            this.__shadow.transform.position = this.__curShadowPos, this.__shadow.transform.localScale = this.__curShadowScale;
        }
    }, t.prototype.__jumpAnimEnd = function() {
        this.__nextPos.cloneTo(this.__curPlayerPos), this.__playerNode.transform.position = this.__curPlayerPos, 
        this.__jpTimer = 0, this.__jumpUp = !1, this.__playerIndex = this.__playerSteps % PathManager.Instance.boxCount;
        var t = PathManager.Instance.boxPool[this.__playerIndex];
        t.hasCoin && (GameData.Instance.coins += 3, PathManager.Instance.hideCoin(t.coinIndex), 
        SoundManager.Instance.playSound(SoundName.EAT)), Laya.Vector3.add(this.__initShadowPos, this.__nextPos, this.__curShadowPos), 
        this.__shadow.transform.position = this.__curShadowPos, this.__initShadowScale.cloneTo(this.__curShadowScale), 
        this.__shadow.transform.localScale = this.__initShadowScale;
        var e = this.__playerIndex < PathManager.Instance.boxCount - 1 ? this.playerIndex + 1 : 0, i = PathManager.Instance.boxPool[e];
        this.__nextDir = i.xDir, this.__nextHit = i.hit;
    }, t.prototype.__hitAnim = function(t) {
        this.__jpTimer += t;
        this.__jpTimer, this.__jpTime, this.__jpTime;
        this.__jpTimer < this.__jpTime / 2 ? (this.__nextDir ? this.__curPlayerPos.z -= this.__hStep / this.__jpTime * t : this.__curPlayerPos.x -= this.__hStep / this.__jpTime * t, 
        this.__curPlayerPos.y += (2 * this.__vStep + .2) / this.__jpTime * t, this.__playerNode.transform.position = this.__curPlayerPos) : this.__body.active && (this.__shadow.active = !1, 
        this.__body.active = !1);
    }, t.prototype.__dropAnim = function(t) {
        this.__jpTimer += t, this.__jpTimer > this.__jpTime ? this.__curPlayerPos.y -= 8 * t : (this.__nextDir ? this.__curPlayerPos.z -= this.__hStep / this.__jpTime * t : this.__curPlayerPos.x -= this.__hStep / this.__jpTime * t, 
        this.__jpTimer > this.__jpTime / 2 ? this.__curPlayerPos.y -= .4 / this.__jpTime * t : this.__curPlayerPos.y += (.4 + 2 * this.__vStep) / this.__jpTime * t), 
        this.__playerNode.transform.position = this.__curPlayerPos;
    }, t.prototype.__timeOutAnim = function(t) {
        this.__jpTimer += t, this.__jpTimer > this.__jpTime / 2 && (this.__curPlayerPos.y -= 8 * t), 
        this.__playerNode.transform.position = this.__curPlayerPos;
    }, t.prototype.__createPlayer = function() {
        var t = new Laya.PlaneMesh(1, 1, 1, 1);
        this.__body.meshFilter.sharedMesh = t, this.__shadow.meshFilter.sharedMesh = t, 
        this.__playerMat = new OpacityMaterial(), this.__body.meshRender.material = this.__playerMat, 
        this.__body.transform.localRotationEuler = new Laya.Vector3(55, 45, 0);
        var e = new OpacityMaterial();
        e.opacity = .3, this.__shadow.meshRender.sharedMaterial = e, SceneManager.Instance.addToScene(this.__playerNode), 
        SceneManager.Instance.addToScene(this.__shadow), this.choosePlayer(0);
    }, t.prototype.__loadPlayerDatas = function() {
        for (var t = Laya.Texture2D.load("res/textures/players/shadowc.png"), e = Laya.Texture2D.load("res/textures/players/shadowb.png"), i = [ "b", "b", "b", "b", "b", "b", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c" ], n = 0; n < this.__shadowsCount; n++) "b" === i[n] ? this.__shadowsTexs.push(e) : this.__shadowsTexs.push(t);
        for (n = 0; n < this.__playersCount; n++) {
            var r = Laya.Texture2D.load("res/textures/players/playerl" + (n + 1).toString() + ".png");
            this.__playersLTexs.push(r);
            var a = Laya.Texture2D.load("res/textures/players/playerr" + (n + 1).toString() + ".png");
            this.__playersRTexs.push(a);
        }
    }, t.prototype.playChange = function() {
        SoundManager.Instance.playSound(SoundName.CHANGE);
    }, t.prototype.__hitLose = function() {
        wx.vibrateLong && GameSetting.vibrOn && wx.vibrateLong({}), this.__loseState = LoseState.HIT, 
        SoundManager.Instance.playSound(SoundName.HIT), GameManager.Instance.gameEnd();
    }, t.prototype.__dropLose = function() {
        this.__shadow.active = !1, this.__loseState = LoseState.DROP, SoundManager.Instance.playSound(SoundName.LOSE), 
        GameManager.Instance.gameEnd();
    }, t.prototype.timeoutLose = function() {
        this.__shadow.active = !1, this.__loseState = LoseState.TIMEOUT, SoundManager.Instance.playSound(SoundName.LOSE), 
        GameManager.Instance.gameEnd();
    }, t.prototype.choosePlayer = function(t) {
        this.__canRotate = t >= 6;
        this.__shadow.meshRender.sharedMaterial.opacityTexture = this.__shadowsTexs[t];
        var e = this.__shadowsScale[t], i = this.__shadowsPos[t];
        e.cloneTo(this.__initShadowScale), i.cloneTo(this.__initShadowPos), this.__initShadowScale.cloneTo(this.__curShadowScale), 
        this.__initShadowPos.cloneTo(this.__curShadowPos), this.__shadow.transform.localScale = this.__curShadowScale, 
        this.__shadow.transform.position = this.__curShadowPos, this.__canRotate ? this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 45, 0) : this.__shadow.transform.localRotationEuler = new Laya.Vector3(0, 0, 0), 
        this.__playerLTex = this.__playersLTexs[t], this.__playerRTex = this.__playersRTexs[t], 
        this.__playerMat.opacityTexture = this.__playerRTex, this.__body.transform.localPosition = this.__playersPos[t], 
        this.__body.transform.localScale = this.__playersScale[t];
    }, t;
}(), NodeControl = function() {
    function t(t) {
        this.__active = !1, this.__xDir = !1, this.__hit = !1, this.__cross = !1, this.__hasCoin = !1, 
        this.__coinIndex = -1, this.__obj = null, this.__curPos = new Laya.Vector3(), this.__nextPos = new Laya.Vector3(), 
        this.__hasChildren = !1, this.__childrenNode = null, this.__curChildrenPos = new Laya.Vector3(), 
        this.__nextChildrenPos = new Laya.Vector3(), this.__canUp = !1, this.__upTimer = 0, 
        this.__upTime = .2, this.__upSpeed = 20, this.__canDown = !1, this.__downTimer = 0, 
        this.__downTime = .5, this.__downSpeed = 8, this.__crossNode = null, this.__curCrossScale = new Laya.Vector3(), 
        this.__canScale = !1, this.__scaleTimer = 0, this.__scaleTime = .2, this.__maxScale = 1, 
        this.__curScale = .5, this.__crossScale = new Laya.Vector3(.7, 1, 1.3), this.__obj = t;
    }
    return Object.defineProperty(t.prototype, "active", {
        get: function() {
            return this.__active;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "xDir", {
        get: function() {
            return this.__xDir;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "hit", {
        get: function() {
            return this.__hit;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "cross", {
        get: function() {
            return this.__cross;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "hasCoin", {
        get: function() {
            return this.__hasCoin;
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(t.prototype, "coinIndex", {
        get: function() {
            return this.__coinIndex;
        },
        enumerable: !0,
        configurable: !0
    }), t.prototype.update = function(t) {
        this.__active && (this.__upAnim(t), this.__downAnim(t), this.__scaleAnim(t));
    }, t.prototype.upMove = function() {
        this.__canUp = !0, this.__upTimer = 0;
    }, t.prototype.downMove = function() {
        this.__canDown = !0, this.__downTimer = 0;
    }, t.prototype.scaleMove = function() {
        this.__canScale = !0, this.__scaleTimer = 0, this.__crossNode.active = !0;
    }, t.prototype.__upAnim = function(t) {
        this.__canUp && (this.__upTimer += t, this.__upTimer > this.__upTime ? (this.__canUp = !1, 
        this.__nextPos.cloneTo(this.__curPos), this.__obj.transform.position = this.__curPos, 
        this.__hasChildren && (this.__nextChildrenPos.cloneTo(this.__curChildrenPos), this.__childrenNode.transform.position = this.__curChildrenPos)) : (this.__curPos.y -= this.__upSpeed * t, 
        this.__obj.transform.position = this.__curPos, this.__hasChildren && (this.__curChildrenPos.y -= this.__upSpeed * t, 
        this.__childrenNode.transform.position = this.__curChildrenPos)));
    }, t.prototype.__downAnim = function(t) {
        this.__canDown && (this.__downTimer += t, this.__downTimer > this.__downTime ? (this.__canDown = !1, 
        this.__active = !1, this.__obj.active = this.__active, this.__hasChildren && (this.__childrenNode.active = !1)) : (this.__curPos.y -= this.__downSpeed * t, 
        this.__obj.transform.position = this.__curPos, this.__hasChildren && (this.__curChildrenPos.y -= this.__downSpeed * t, 
        this.__childrenNode.transform.position = this.__curChildrenPos)));
    }, t.prototype.__scaleAnim = function(t) {
        if (this.__canScale) if (this.__scaleTimer += t, this.__scaleTimer > this.__scaleTime) this.__canScale = !1, 
        this.__crossNode.transform.localScale = this.__crossScale; else {
            var e = this.__scaleTimer / this.__scaleTime;
            this.__curScale = .5 * (1 - e) + this.__maxScale * e, Laya.Vector3.scale(this.__crossScale, this.__curScale, this.__curCrossScale), 
            this.__crossNode.transform.localScale = this.__curCrossScale;
        }
    }, t.prototype.init = function() {
        this.__active = !1, this.__obj.active = this.__active, this.__canUp = !1, this.__canDown = !1, 
        this.__canScale = !1, this.__hasChildren = !1, this.__childrenNode = null, this.__hit = !1, 
        this.__cross = !1, this.__crossNode = null, this.__hasCoin = !1;
    }, t.prototype.reset = function(t) {
        if (this.__active = !0, this.__obj.active = this.__active, t.pos.cloneTo(this.__curPos), 
        this.__obj.transform.position = this.__curPos, t.nextPos.cloneTo(this.__nextPos), 
        this.__xDir = t.xDir, this.__hasCoin = void 0 !== t.hasCoin && t.hasCoin, this.__hasCoin && (this.__coinIndex = t.coinIndex), 
        this.__hasChildren = void 0 !== t.hasChildren && t.hasChildren, this.__canUp = !1, 
        this.__canDown = !1, this.__canScale = !1, !this.__hasChildren) return this.__childrenNode = null, 
        this.__cross = !1, this.__crossNode = null, void (this.__hit = !1);
        this.__childrenNode = t.childrenNode, t.childrenPos.cloneTo(this.__curChildrenPos), 
        this.__childrenNode.transform.position = this.__curChildrenPos, this.__childrenNode.active = !0, 
        this.__hit = t.hit, t.nextChildrenPos.cloneTo(this.__nextChildrenPos), this.__cross = void 0 !== t.cross && t.cross, 
        this.__cross ? (this.__curScale = .5, this.__crossNode = this.__childrenNode.getChildAt(0), 
        this.__crossNode.active = !1, Laya.Vector3.scale(this.__crossScale, this.__curScale, this.__curCrossScale), 
        this.__crossNode.transform.localScale = this.__curCrossScale) : this.__crossNode = null;
    }, t;
}(), CameraFollow = function() {
    function t() {
        if (this.__initPos = new Laya.Vector3(2, 2.3, 2), this.__offsetPos = new Laya.Vector3(2, 3.5, 2), 
        this.__initRot = new Laya.Vector3(-35, 45, 0), this.__targetPos = new Laya.Vector3(), 
        this.__curPos = new Laya.Vector3(2, 2.3, 2), this.__moveSpeed = 2, this.__lightPos = new Laya.Vector3(0, 1.5, -3), 
        this.__particlePos = new Laya.Vector3(0, 1, -10), this.__shakeTimer = 0, this.__lrMove = 12, 
        this.__udMove = 12, this.__bgColors = [ new Laya.Vector4(.259, .243, .251, 1), new Laya.Vector4(.737, .157, .286, 1), new Laya.Vector4(.29, .467, .47, 1), new Laya.Vector4(1, .729, .435, 1), new Laya.Vector4(0, .494, .745, 1), new Laya.Vector4(.361, .318, .365, 1), new Laya.Vector4(.106, .231, .306, 1), new Laya.Vector4(.729, .4, .537, 1), new Laya.Vector4(.169, .11, .251, 1), new Laya.Vector4(.859, .553, .255, 1), new Laya.Vector4(.239, .678, .761, 1) ], 
        this.__bgCount = 11, this.__curBgColor = new Laya.Vector4(0, 0, 0, 1), this.__nextBgColor = new Laya.Vector4(0, 0, 0, 1), 
        this.__bgTimer = 0, this.__bgTime = 15, this.__bgChangeSpeed = .2, this.__bgIndex = 0, 
        t.Instance) return t.Instance;
        t.Instance = this, this.__camera = new Laya.Camera(0, .1, 100), this.__camera.transform.position = this.__initPos, 
        this.__camera.transform.localRotationEuler = this.__initRot, this.__camera.orthographic = !0, 
        this.__camera.orthographicVerticalSize = 6, this.__camera.clearColor = new Laya.Vector4(.3, .3, .3, 1), 
        this.__pLight = new Laya.PointLight(), this.__pLight.intensity = 1, this.__pLight.color = new Laya.Vector3(1, 1, 1), 
        this.__pLight.range = 4, this.__pLight.transform.localPosition = this.__lightPos, 
        this.__camera.addChild(this.__pLight);
    }
    return t.prototype.__updateBgColor = function(t) {
        if (this.__bgTimer += t, this.__bgTimer > this.__bgTime) {
            this.__bgTimer = 0;
            var e = Math.floor(Math.random() * this.__bgCount);
            this.__bgIndex = this.__bgIndex === e ? this.__bgIndex === this.__bgCount - 1 ? this.__bgIndex - 1 : this.__bgIndex + 1 : e, 
            this.__bgColors[this.__bgIndex].cloneTo(this.__nextBgColor);
        } else this.__bgTimer > this.__bgTime / 3 && this.__bgTimer < 2 * this.__bgTime / 3 && (Laya.Vector4.lerp(this.__curBgColor, this.__nextBgColor, this.__bgChangeSpeed * t, this.__curBgColor), 
        this.__camera.clearColor = this.__curBgColor);
    }, t.prototype.__updatePos = function(t) {
        GameManager.Instance.gameState !== GameState.START && GameManager.Instance.gameState !== GameState.PLAYING || (Laya.Vector3.add(PlayerControl.Instance.PlayerNode.transform.position, this.__offsetPos, this.__targetPos), 
        Laya.Vector3.lerp(this.__curPos, this.__targetPos, this.__moveSpeed * t, this.__curPos), 
        this.__camera.transform.position = this.__curPos), GameManager.Instance.gameState === GameState.END && PlayerControl.Instance.loseState === LoseState.HIT && (this.__shakeTimer += t, 
        this.__shakeTimer > .1 && this.__shakeTimer < .5 && (this.__lrMove = -this.__lrMove, 
        this.__udMove = -this.__udMove, this.__lrMove > 0 && (this.__lrMove -= 48 * t), 
        this.__udMove > 0 && (this.__udMove -= 48 * t), this.__curPos.x += this.__lrMove * t, 
        this.__curPos.z += this.__udMove * t));
    }, t.prototype.gameUpdate = function(t) {
        this.__updateBgColor(t), this.__updatePos(t);
    }, t.prototype.gameInit = function() {
        SceneManager.Instance.addToScene(this.__camera), 
        this.__bgIndex = Math.floor(Math.random() * this.__bgCount), 
        this.__bgColors[this.__bgIndex].cloneTo(this.__curBgColor), 
        this.__bgTimer = this.__bgTime + 1, 
        this.__camera.clearColor = this.__curBgColor, 
        this.__bgParticle = Laya.Utils3D._createNodeByJson(null, ResourcesConfig.bgPt, null, null), 
        this.__camera.addChild(this.__bgParticle), 
        this.__bgParticle.transform.localPosition = this.__particlePos, 
        this.__bgParticle.transform.localRotationEuler = new Laya.Vector3(0, 0, 0);
    }, t.prototype.gameReset = function() {
        this.__initPos.cloneTo(this.__curPos), this.__camera.transform.position = this.__initPos, 
        this.__shakeTimer = 0, this.__lrMove = 12, this.__udMove = 12;
    }, t.prototype.gameReborn = function() {
        this.__shakeTimer = 0, this.__lrMove = 12, this.__udMove = 12;
    }, t;
}(), GameSetting = function() {
    function t() {}
    return t.root = "https://game.elloworld.cn", t.gameName = "jump3/background/index", 
    t.vibrOn = !0, t.appid = "wx216d023248cdbbb0", t.version = "1.2.0", t.reviveRewardAd = "adunit-99c65f0d7945e9d6", 
    t.getPropRewardAd = "adunit-dbb2741c61a369da", t.getThreeCoinsRewardAd = "adunit-8997bac8e1b6ee19", 
    t.revivePageBannerAd = "adunit-2c0b278abfc172d4", t.endPageBannerAd = "adunit-e256b13b702c6820", 
    t.dailyPageBannerAd = "adunit-6d3bf5e3c5a72b54", t.choosePageBannerAd = "adunit-db56eb43d199836b", 
    t.bannerAdState = 0, t.rewardAdState = 0, t;
}();

!function(t) {
    t[t.NONE = 0] = "NONE", t[t.REVIVE = 1] = "REVIVE", t[t.END = 2] = "END", t[t.DAILY = 3] = "DAILY", 
    t[t.CHOOSE = 4] = "CHOOSE";
}(BannerAdState || (BannerAdState = {}));

var RewardAdState;

!function(t) {
    t[t.NONE = 0] = "NONE", t[t.REVIVE = 1] = "REVIVE", t[t.GETPROP = 2] = "GETPROP", 
    t[t.GETTHREE = 3] = "GETTHREE";
}(RewardAdState || (RewardAdState = {}));

var ui, GameData = function() {
    function t() {
        if (this.coins = 0, this.score = 0, this.bestScore = 0, t.Instance) return t.Instance;
        if (t.Instance = this, Laya.Browser.onMiniGame) {
            var e = wx.getStorageSync("bestScore");
            e || (e = 0), this.bestScore = parseInt(e);
        }
    }
    return t.prototype.initAllGameData = function() {
        this.bestScore = MD_UserData.getUserData().betterScore, UIManager.Instance.initData();
    }, t.prototype.calcBest = function() {
        var t = this.bestScore;
        return this.bestScore = t < this.score ? this.score : t, MD_UserData.getUserData().betterScore = this.bestScore, 
        t < this.score;
    }, t;
}(), __extends = this && this.__extends || function() {
    var t = function(e, i) {
        return (t = Object.setPrototypeOf || {
            __proto__: []
        } instanceof Array && function(t, e) {
            t.__proto__ = e;
        } || function(t, e) {
            for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
        })(e, i);
    };
    return function(e, i) {
        function n() {
            this.constructor = e;
        }
        t(e, i), e.prototype = null === i ? Object.create(i) : (n.prototype = i.prototype, 
        new n());
    };
}(), OpacityMaterial = function(t) {
    function e() {
        var i = t.call(this) || this;
        return i.setShaderName("Opacity"), i._setColor(e.MAINCOLOR, new Laya.Vector3(1, 1, 1)), 
        i._setNumber(e.ALPHATESTVALUE, .5), i._setNumber(e.OPACITY, 1), i.renderQueue = Laya.RenderQueue.TRANSPARENT, 
        i.depthWrite = !1, i.cull = e.CULL_BACK, i.blend = e.BLEND_ENABLE_ALL, i.srcBlend = e.BLENDPARAM_SRC_ALPHA, 
        i.dstBlend = e.BLENDPARAM_ONE_MINUS_SRC_ALPHA, i.alphaTest = !1, i.depthTest = e.DEPTHTEST_LESS, 
        i;
    }
    return __extends(e, t), Object.defineProperty(e.prototype, "opacity", {
        get: function() {
            return this._getNumber(e.OPACITY);
        },
        set: function(t) {
            t = Math.max(0, Math.min(1, t)), this._setNumber(e.OPACITY, t);
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(e.prototype, "opacityTexture", {
        get: function() {
            return this._getTexture(e.OPACITYTEXTURE);
        },
        set: function(t) {
            t ? this._addShaderDefine(e.SHADERDEFINE_OPACITYMAP) : this._removeShaderDefine(e.SHADERDEFINE_OPACITYMAP), 
            this._setTexture(e.OPACITYTEXTURE, t);
        },
        enumerable: !0,
        configurable: !0
    }), Object.defineProperty(e.prototype, "mainColor", {
        get: function() {
            return this._getColor(e.MAINCOLOR);
        },
        set: function(t) {
            this._setColor(e.MAINCOLOR, t);
        },
        enumerable: !0,
        configurable: !0
    }), e.__init__ = function() {
        e.SHADERDEFINE_OPACITYMAP = e.shaderDefines.registerDefine("OPACITYMAP");
    }, e.initShader = function() {
        var t = Laya.Shader3D.nameKey.add("Opacity"), i = {
            a_Position: Laya.VertexElementUsage.POSITION0,
            a_Texcoord: Laya.VertexElementUsage.TEXTURECOORDINATE0
        }, n = {
            u_MvpMatrix: [ Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE ],
            u_OpacityTexture: [ e.OPACITYTEXTURE, Laya.Shader3D.PERIOD_MATERIAL ],
            u_MainColor: [ e.MAINCOLOR, Laya.Shader3D.PERIOD_MATERIAL ],
            u_Opacity: [ e.OPACITY, Laya.Shader3D.PERIOD_MATERIAL ]
        }, r = Laya.ShaderCompile3D.add(t, "attribute vec4 a_Position;\nuniform mat4 u_MvpMatrix;\n#ifdef OPACITYMAP\nattribute vec2 a_Texcoord;\nvarying vec2 v_Texcoord;\n#endif\nvoid main(){\n#ifdef OPACITYMAP\nv_Texcoord = a_Texcoord;\n#endif\ngl_Position = u_MvpMatrix * a_Position;\n}", "#ifdef FSHIGHPRECISION\nprecision highp float;\n#else\nprecision mediump float;\n#endif\nuniform vec3 u_MainColor;\nuniform float u_Opacity;\n#ifdef OPACITYMAP\nuniform sampler2D u_OpacityTexture;\nvarying vec2 v_Texcoord;\n#endif\nvoid main(){\nfloat alpha = u_Opacity;\nvec3 mainColor = u_MainColor;\n#ifdef OPACITYMAP\nvec4 texColor = texture2D(u_OpacityTexture,v_Texcoord);\nalpha = alpha * texColor.a;\nmainColor.rgb = mainColor.rgb * texColor.rgb;\n#endif\ngl_FragColor=vec4(mainColor,alpha);}\n", i, n);
        e.SHADERDEFINE_OPACITYMAP = r.registerMaterialDefine("OPACITYMAP");
    }, e.OPACITYTEXTURE = 1, e.MAINCOLOR = 2, e.OPACITY = 3, e;
}(Laya.BaseMaterial), __extends = this && this.__extends || function() {
    var t = function(e, i) {
        return (t = Object.setPrototypeOf || {
            __proto__: []
        } instanceof Array && function(t, e) {
            t.__proto__ = e;
        } || function(t, e) {
            for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
        })(e, i);
    };
    return function(e, i) {
        function n() {
            this.constructor = e;
        }
        t(e, i), e.prototype = null === i ? Object.create(i) : (n.prototype = i.prototype, 
        new n());
    };
}(), View = laya.ui.View, Dialog = laya.ui.Dialog;

!function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.CharactersUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Image",
                props: {
                    y: -500,
                    width: 1080,
                    skin: "characterSystem/c_bg.png",
                    height: 3e3
                }
            }, {
                type: "Image",
                props: {
                    width: 512,
                    top: 700,
                    skin: "characterSystem/c_cloud1.png",
                    left: 500,
                    height: 87
                }
            }, {
                type: "Image",
                props: {
                    width: 463,
                    skin: "characterSystem/c_cloud2.png",
                    left: 0,
                    height: 174,
                    bottom: 700
                }
            }, {
                type: "Image",
                props: {
                    width: 452,
                    top: 100,
                    skin: "characterSystem/c_cloud3.png",
                    right: 0,
                    height: 174
                }
            }, {
                type: "Image",
                props: {
                    width: 27,
                    top: 684,
                    skin: "characterSystem/c_tri.png",
                    left: 526.5,
                    height: 18
                }
            }, {
                type: "Image",
                props: {
                    y: 1511,
                    x: 494,
                    width: 93,
                    var: "backBtn",
                    skin: "characterSystem/c_back.png",
                    left: 493.5,
                    height: 107,
                    bottom: 302
                }
            }, {
                type: "Button",
                props: {
                    y: 1250,
                    x: 387,
                    width: 306,
                    var: "useBtn",
                    stateNum: 1,
                    skin: "characterSystem/c_play.png",
                    left: 387,
                    labelSize: 100,
                    labelColors: "#fff",
                    labelAlign: "center",
                    height: 170,
                    bottom: 500
                }
            }, {
                type: "Image",
                props: {
                    y: 100,
                    x: 340,
                    width: 400,
                    top: 100,
                    skin: "characterSystem/c_coins.png",
                    sizeGrid: "0,50,0,120",
                    left: 340,
                    height: 116
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 22,
                        x: 120,
                        var: "coinsText",
                        text: "00999",
                        fontSize: 75,
                        color: "#ffffff",
                        align: "left"
                    }
                } ]
            }, {
                type: "Image",
                props: {
                    y: 1027,
                    x: 449,
                    width: 183,
                    var: "nameImg",
                    skin: "characterSystem/c_name.png",
                    sizeGrid: "0,30,0,30",
                    left: 449,
                    height: 72,
                    bottom: 821
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 13,
                        x: 46.5,
                        var: "characterName",
                        text: "阿汪",
                        fontSize: 45,
                        color: "#ffffff",
                        bold: !0
                    }
                } ]
            }, {
                type: "Image",
                props: {
                    y: 620,
                    x: 276,
                    width: 528,
                    var: "descripImg",
                    top: 620,
                    skin: "characterSystem/c_circle.png",
                    sizeGrid: "0,50,0,50",
                    left: 276,
                    height: 64
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 13,
                        x: 62,
                        var: "characterDescrip",
                        text: "想不想跟我去山的那边看看？",
                        fontSize: 32,
                        color: "#bbbbbb"
                    }
                } ]
            }, {
                type: "Button",
                props: {
                    width: 306,
                    var: "unlockBtn",
                    stateNum: 1,
                    skin: "characterSystem/c_buycoin.png",
                    left: 387,
                    height: 170,
                    bottom: 500
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 40,
                        x: 110,
                        var: "buyCoinText",
                        text: "9999",
                        fontSize: 70,
                        color: "#27026b"
                    }
                } ]
            }, {
                type: "Box",
                props: {
                    y: 720,
                    x: 0,
                    var: "characterImgs"
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 660,
                        width: 240,
                        skin: "game/playerm0.png",
                        height: 240,
                        anchorY: 0,
                        anchorX: .5
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            visible: !1,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 660,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 670,
                        width: 240,
                        skin: "game/playerm2.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 680,
                        width: 240,
                        skin: "game/playerm3.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 690,
                        width: 240,
                        skin: "game/playerm4.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 700,
                        width: 240,
                        skin: "game/playerm5.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 710,
                        width: 240,
                        skin: "game/playerm6.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 720,
                        width: 240,
                        skin: "game/playerm7.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 730,
                        width: 240,
                        skin: "game/playerm8.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 740,
                        width: 240,
                        skin: "game/playerm9.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 750,
                        width: 240,
                        skin: "game/playerm10.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 760,
                        width: 240,
                        skin: "game/playerm11.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 770,
                        width: 240,
                        skin: "game/playerm12.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 780,
                        width: 240,
                        skin: "game/playerm13.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 790,
                        width: 240,
                        skin: "game/playerm14.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 800,
                        width: 240,
                        skin: "game/playerm15.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 810,
                        width: 240,
                        skin: "game/playerm16.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 820,
                        width: 240,
                        skin: "game/playerm17.png",
                        height: 240,
                        gray: !0,
                        anchorY: 0,
                        anchorX: .5,
                        alpha: .6
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 61,
                            width: 87,
                            skin: "game/c_lock.png",
                            height: 118,
                            centerY: 0,
                            centerX: 0,
                            anchorY: 0,
                            anchorX: .5
                        }
                    } ]
                } ]
            } ]
        }, i;
    }(View);
    t.CharactersUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.EndPagUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Box",
                props: {
                    y: 0,
                    x: 0,
                    width: 1080,
                    height: 1920
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 193,
                        x: 0,
                        width: 1080,
                        text: "本次得分",
                        height: 50,
                        fontSize: 36,
                        color: "#ffffff",
                        alpha: .5,
                        align: "center"
                    }
                }, {
                    type: "Text",
                    props: {
                        y: 230,
                        x: 0,
                        width: 1080,
                        var: "scoreText",
                        text: "5368",
                        fontSize: 174,
                        color: "#ffffff",
                        align: "center"
                    }
                }, {
                    type: "Text",
                    props: {
                        y: 404,
                        width: 1080,
                        var: "bestScoreText",
                        text: "历史最佳 5358",
                        fontSize: 36,
                        color: "#ffffff",
                        alpha: .5,
                        align: "center"
                    }
                } ]
            }, {
                type: "Box",
                props: {
                    y: -100,
                    x: 0,
                    width: 1080,
                    height: 1920
                },
                child: [ {
                    type: "Image",
                    props: {
                        width: 962,
                        top: 605,
                        skin: "end/Endpagescore.png",
                        left: 59,
                        height: 689
                    }
                }, {
                    type: "Image",
                    props: {
                        width: 543,
                        var: "newRecord",
                        top: 529,
                        skin: "end/Newrecord.png",
                        left: 278,
                        height: 147
                    }
                }, {
                    type: "Label",
                    props: {
                        var: "showRankBtn",
                        text: "查看全部排行榜>",
                        right: 100,
                        fontSize: 35,
                        color: "#ffffff",
                        bottom: 684,
                        alpha: .6
                    }
                } ]
            }, {
                type: "Sprite",
                props: {
                    y: 510,
                    x: 60,
                    width: 960,
                    var: "rankSprite",
                    height: 550
                }
            }, {
                type: "Button",
                props: {
                    width: 376,
                    var: "restartBtn",
                    stateNum: 1,
                    skin: "end/e_again.png",
                    left: 347,
                    height: 150,
                    bottom: 496
                }
            }, {
                type: "Image",
                props: {
                    width: 120,
                    var: "missionBtn",
                    skin: "end/e_mission.png",
                    right: 118,
                    height: 131,
                    bottom: 494
                }
            }, {
                type: "Button",
                props: {
                    width: 93,
                    var: "mainBtn",
                    stateNum: 1,
                    skin: "end/e_main.png",
                    left: 129,
                    height: 131,
                    bottom: 498
                }
            }, {
                type: "Button",
                props: {
                    width: 376,
                    var: "inviteBtn",
                    stateNum: 1,
                    skin: "end/e_challenge.png",
                    left: 353,
                    height: 150,
                    bottom: 312
                }
            }, {
                type: "Image",
                props: {
                    width: 138,
                    visible: !1,
                    var: "getPropsBtn",
                    top: 1455,
                    skin: "game/g_getProps.png",
                    left: 834,
                    height: 145
                }
            }, {
                type: "Image",
                props: {
                    y: 1245,
                    x: 460,
                    var: "againCoinUp",
                    skin: "game/g_coinup.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 1431,
                    x: 460,
                    var: "inviteCoinUp",
                    skin: "game/g_coinup.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 1505,
                    x: 885,
                    width: 30,
                    visible: !1,
                    var: "animPlayer",
                    skin: "game/playerm1.png",
                    height: 30
                },
                compId: 43
            } ],
            animations: [ {
                nodes: [],
                name: "ani1",
                id: 1,
                frameRate: 24,
                action: 0
            }, {
                nodes: [ {
                    target: 43,
                    keyframes: {
                        y: [ {
                            value: 700,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "y",
                            index: 0
                        }, {
                            value: 1505,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "y",
                            index: 48
                        } ],
                        x: [ {
                            value: 290,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "x",
                            index: 0
                        }, {
                            value: 885,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "x",
                            index: 48
                        } ],
                        width: [ {
                            value: 500,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "width",
                            index: 0
                        }, {
                            value: 30,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "width",
                            index: 48
                        } ],
                        visible: [ {
                            value: !0,
                            tweenMethod: "linearNone",
                            tween: !1,
                            target: 43,
                            key: "visible",
                            index: 0
                        }, {
                            value: !1,
                            tweenMethod: "linearNone",
                            tween: !1,
                            target: 43,
                            key: "visible",
                            index: 48
                        } ],
                        height: [ {
                            value: 500,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "height",
                            index: 0
                        }, {
                            value: 30,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 43,
                            key: "height",
                            index: 48
                        } ]
                    }
                } ],
                name: "ani2",
                id: 2,
                frameRate: 48,
                action: 0
            } ]
        }, i;
    }(View);
    t.EndPagUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.GamePageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                y: 0,
                x: 0,
                width: 1080,
                top: 0,
                skewY: 0,
                skewX: 0,
                scaleY: 1,
                scaleX: 1,
                right: 0,
                pivotY: 0,
                pivotX: 0,
                left: 0,
                height: 1920,
                centerY: 0,
                centerX: 0,
                bottom: 0,
                anchorY: 0,
                anchorX: 0
            },
            child: [ {
                type: "Box",
                props: {
                    x: -9,
                    width: 1080,
                    var: "topSettings",
                    top: 5,
                    height: 1920
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 172,
                        x: 36,
                        width: 147,
                        var: "awardBtn",
                        skin: "game/g_award.png",
                        height: 231
                    },
                    child: [ {
                        type: "Text",
                        props: {
                            y: 185,
                            x: 5,
                            width: 140,
                            var: "timeTxt",
                            text: "06:00:00",
                            fontSize: 30,
                            color: "#5f1b1c",
                            bold: !0,
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Button",
                    props: {
                        width: 145,
                        var: "musicBtn",
                        top: 38,
                        stateNum: 1,
                        skin: "game/Musicbackground.png",
                        left: 0,
                        height: 117
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            width: 79,
                            top: 20,
                            skin: "game/Musicopen.png",
                            left: 44,
                            height: 79
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 79,
                            var: "musicClose",
                            top: 22,
                            skin: "game/Musicclose.png",
                            left: 44,
                            height: 79
                        }
                    } ]
                }, {
                    type: "Button",
                    props: {
                        width: 118,
                        var: "vibrBtn",
                        top: 38,
                        stateNum: 1,
                        skin: "game/vibron.png",
                        left: 157,
                        height: 118
                    }
                } ]
            }, {
                type: "Image",
                props: {
                    width: 822,
                    top: 409,
                    skin: "game/Title.png",
                    name: "logo",
                    left: 129,
                    height: 340
                }
            }, {
                type: "Image",
                props: {
                    width: 138,
                    visible: !1,
                    var: "getPropsBtn",
                    top: 850,
                    skin: "game/g_getProps.png",
                    left: 20,
                    height: 145
                }
            }, {
                type: "Button",
                props: {
                    x: 125,
                    width: 132,
                    var: "chooseBtn",
                    top: 1270,
                    stateNum: 1,
                    skin: "game/storebox.png",
                    left: 125,
                    height: 173
                },
                child: [ {
                    type: "Image",
                    props: {
                        width: 160,
                        var: "playerImg",
                        skin: "game/playerm0.png",
                        left: 0,
                        height: 160,
                        bottom: 50
                    }
                } ]
            }, {
                type: "Button",
                props: {
                    x: 357,
                    width: 366,
                    var: "startBtn",
                    stateNum: 1,
                    skin: "game/Start.png",
                    left: 357,
                    height: 164,
                    bottom: 480
                }
            }, {
                type: "Image",
                props: {
                    y: 1258,
                    x: 823,
                    width: 132,
                    var: "missionBtn",
                    skin: "game/g_dailym.png",
                    height: 178
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 1,
                        x: 116,
                        var: "pointBtn",
                        skin: "game/g_point.png"
                    }
                } ]
            }, {
                type: "Image",
                props: {
                    x: 169,
                    width: 305,
                    var: "rankBtn",
                    skin: "game/g_rank.png",
                    left: 169,
                    height: 96,
                    bottom: 350
                }
            }, {
                type: "Image",
                props: {
                    x: 605,
                    width: 305,
                    var: "inviteBtn",
                    skin: "game/g_invite.png",
                    right: 170,
                    height: 96,
                    bottom: 350
                }
            }, {
                type: "Image",
                props: {
                    x: 415,
                    width: 250,
                    top: 1156,
                    skin: "game/coin.png",
                    sizeGrid: "0,50,0,80",
                    left: 415,
                    height: 72
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 10,
                        x: 75,
                        var: "coinText",
                        text: "00000",
                        fontSize: 50,
                        color: "#ffffff"
                    }
                } ]
            }, {
                type: "Image",
                props: {
                    y: 1245,
                    x: 460,
                    var: "startCoinUp",
                    skin: "game/g_coinup.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 1443,
                    x: 679,
                    var: "inviteCoinUp",
                    skin: "game/g_coinup.png"
                }
            }, {
                type: "Text",
                props: {
                    y: 990,
                    x: 0,
                    width: 1080,
                    var: "bestScoreText",
                    text: "1235",
                    height: 90,
                    fontSize: 90,
                    color: "#ffffff",
                    bold: !0,
                    align: "center"
                }
            }, {
                type: "Label",
                props: {
                    top: 1080,
                    text: "历史最佳",
                    name: "historyBest",
                    left: 470,
                    fontSize: 35,
                    color: "#ffffff"
                }
            } ]
        }, i;
    }(View);
    t.GamePageUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.GetPropPageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                y: 0,
                x: 0,
                width: 1080,
                top: 0,
                skewY: 0,
                skewX: 0,
                scaleY: 1,
                scaleX: 1,
                right: 0,
                pivotY: 0,
                pivotX: 0,
                left: 0,
                height: 1920,
                centerY: 0,
                centerX: 0,
                bottom: 0,
                anchorY: 0,
                anchorX: 0
            },
            child: [ {
                type: "Image",
                props: {
                    y: -500,
                    width: 1080,
                    skin: "mission/m_bg.png",
                    height: 3e3
                }
            }, {
                type: "Image",
                props: {
                    y: 822,
                    x: 145,
                    width: 810,
                    var: "coinTips",
                    top: 812,
                    skin: "mission/m_ccoin.png",
                    left: 135,
                    height: 321
                },
                child: [ {
                    type: "Image",
                    props: {
                        skin: "mission/m_coinp.png",
                        left: 68,
                        bottom: 41
                    }
                }, {
                    type: "Image",
                    props: {
                        width: 223,
                        var: "sureBtn",
                        top: 273,
                        skin: "mission/m_ok.png",
                        left: 293.5,
                        height: 110
                    }
                }, {
                    type: "Text",
                    props: {
                        y: 160,
                        x: 610,
                        var: "getCoin",
                        text: "X5000",
                        fontSize: 50,
                        color: "#ffffff"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 28,
                        x: 748,
                        var: "closeTips",
                        skin: "mission/m_closeBtn.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 265,
                        x: 198,
                        var: "getThree",
                        skin: "mission/m_getThree.png"
                    }
                } ]
            }, {
                type: "Box",
                props: {
                    width: 999,
                    var: "getBox",
                    top: 401,
                    left: 1,
                    height: 934
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 62,
                        x: 94,
                        skin: "mission/m_boxw.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 473,
                        x: 540,
                        width: 800,
                        skin: "mission/m_boxl2.png",
                        height: 800,
                        anchorY: .5,
                        anchorX: .5
                    },
                    compId: 38
                }, {
                    type: "Image",
                    props: {
                        y: 473,
                        x: 540,
                        width: 800,
                        skin: "mission/m_boxl1.png",
                        height: 800,
                        anchorY: .5,
                        anchorX: .5
                    },
                    compId: 39
                }, {
                    type: "Image",
                    props: {
                        y: 291,
                        x: 300,
                        skin: "mission/m_box0.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 840,
                        x: 362,
                        var: "openBtn",
                        skin: "mission/m_open.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: -200,
                        x: 883,
                        var: "closeBoxBtn",
                        skin: "mission/m_close.png"
                    }
                } ]
            }, {
                type: "Box",
                props: {
                    width: 1080,
                    var: "shareTips",
                    top: 324,
                    height: 1193
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 490,
                        x: 540,
                        width: 936,
                        var: "shareTipsImg2",
                        skin: "mission/m_ll1_2.png",
                        height: 936,
                        anchorY: .5,
                        anchorX: .5
                    },
                    compId: 41
                }, {
                    type: "Image",
                    props: {
                        y: 486,
                        x: 540,
                        width: 936,
                        var: "shareTipsImg1",
                        skin: "mission/m_ll1_1.png",
                        height: 936,
                        anchorY: .5,
                        anchorX: .5
                    },
                    compId: 40
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 279,
                        var: "shareTipsWord",
                        skin: "mission/m_lw1.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 1e3,
                        x: 267,
                        var: "inviteBtn",
                        skin: "mission/m_invitef.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 1e3,
                        x: 270,
                        var: "watchVideo",
                        skin: "mission/m_watchvideo.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: -120,
                        x: 881,
                        var: "closeShareBtn",
                        skin: "mission/m_close.png"
                    }
                }, {
                    type: "Box",
                    props: {
                        y: 1200,
                        x: 470,
                        width: 148,
                        var: "shareBtn",
                        height: 44
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: -1,
                            x: 2,
                            skin: "mission/m_fxbox.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 2,
                            x: 3,
                            var: "yesImg",
                            skin: "mission/m_yes.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 4,
                            x: 61,
                            skin: "mission/m_fx.png"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 294,
                        x: 290,
                        width: 500,
                        var: "GetPlayerImg",
                        skin: "game/playerm5.png",
                        height: 500
                    }
                } ]
            } ],
            animations: [ {
                nodes: [ {
                    target: 38,
                    keyframes: {
                        rotation: [ {
                            value: 0,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 38,
                            key: "rotation",
                            index: 0
                        }, {
                            value: 360,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 38,
                            key: "rotation",
                            index: 72
                        } ]
                    }
                }, {
                    target: 39,
                    keyframes: {
                        rotation: [ {
                            value: 360,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 39,
                            key: "rotation",
                            index: 0
                        }, {
                            value: 0,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 39,
                            key: "rotation",
                            index: 72
                        } ]
                    }
                } ],
                name: "ani1",
                id: 1,
                frameRate: 24,
                action: 2
            }, {
                nodes: [ {
                    target: 41,
                    keyframes: {
                        rotation: [ {
                            value: 360,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 41,
                            key: "rotation",
                            index: 0
                        }, {
                            value: 0,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 41,
                            key: "rotation",
                            index: 72
                        } ]
                    }
                }, {
                    target: 40,
                    keyframes: {
                        rotation: [ {
                            value: 0,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 40,
                            key: "rotation",
                            index: 0
                        }, {
                            value: 360,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 40,
                            key: "rotation",
                            index: 72
                        } ]
                    }
                } ],
                name: "ani2",
                id: 2,
                frameRate: 24,
                action: 2
            } ]
        }, i;
    }(View);
    t.GetPropPageUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            e.prototype.createChildren.call(this), this.createView(t.GroupRankPageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Box",
                props: {
                    y: 0,
                    x: 0,
                    width: 1080,
                    height: 1920
                },
                child: [ {
                    type: "Image",
                    props: {
                        width: 255,
                        top: 216,
                        skin: "game/Grouprankings.png",
                        left: 412.5,
                        height: 61
                    }
                }, {
                    type: "Sprite",
                    props: {
                        y: 332,
                        x: 70,
                        width: 940,
                        var: "rankSprite",
                        height: 1200
                    }
                }, {
                    type: "Image",
                    props: {
                        width: 950,
                        top: 332,
                        skin: "game/Individualrankings.png",
                        left: 65,
                        height: 180
                    }
                }, {
                    type: "Image",
                    props: {
                        width: 950,
                        top: 548,
                        skin: "game/Friendsrankings.png",
                        left: 65,
                        height: 1059
                    }
                }, {
                    type: "Label",
                    props: {
                        var: "previousBtn",
                        text: "<上一页",
                        left: 95,
                        fontSize: 35,
                        color: "#ffffff",
                        bottom: 365,
                        alpha: .6
                    }
                }, {
                    type: "Label",
                    props: {
                        var: "nextBtn",
                        text: "下一页>",
                        right: 110,
                        fontSize: 35,
                        color: "#ffffff",
                        bottom: 365,
                        alpha: .6
                    }
                } ]
            }, {
                type: "Button",
                props: {
                    width: 173,
                    var: "mainBtn",
                    stateNum: 1,
                    skin: "rank/rank_backhome.png",
                    left: 261,
                    height: 172,
                    bottom: 85
                }
            }, {
                type: "Button",
                props: {
                    width: 349,
                    var: "joinGameBtn",
                    stateNum: 1,
                    skin: "game/Join.png",
                    right: 254,
                    height: 172,
                    bottom: 85
                }
            } ]
        }, i;
    }(View);
    t.GroupRankPageUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.LoadingUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                y: 0,
                x: 0,
                width: 1080,
                top: 0,
                skewY: 0,
                skewX: 0,
                scaleY: 1,
                scaleX: 1,
                right: 0,
                pivotY: 0,
                pivotX: 0,
                left: 0,
                height: 1920,
                centerY: 0,
                centerX: 0,
                bottom: 0,
                anchorY: 0,
                anchorX: 0
            },
            child: [ {
                type: "Image",
                props: {
                    width: 1080,
                    skin: "loading/loadingbg.png",
                    scaleY: 1,
                    scaleX: 1,
                    height: 2337.6,
                    centerY: 0,
                    centerX: 0,
                    anchorY: .5,
                    anchorX: .5
                }
            }, {
                type: "Image",
                props: {
                    y: 1570,
                    x: 190,
                    skin: "loading/loadingbar.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 1568,
                    x: 191,
                    skin: "loading/loadingbar.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 1567,
                    x: 190,
                    skin: "loading/loadingf.png"
                },
                child: [ {
                    type: "Image",
                    props: {
                        width: 0,
                        var: "loadingBar",
                        skin: "loading/loadingf.png",
                        renderType: "mask"
                    }
                } ]
            }, {
                type: "Image",
                props: {
                    y: 1574,
                    x: 195,
                    var: "loadingC",
                    skin: "loading/loadingc.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 1602,
                    x: 158,
                    var: "loadingB",
                    skin: "loading/loadingb.png"
                },
                child: [ {
                    type: "Text",
                    props: {
                        y: 23,
                        x: 1,
                        width: 93,
                        var: "loadingVal",
                        text: "0%",
                        height: 30,
                        fontSize: 30,
                        color: "#ffffff",
                        align: "center"
                    }
                } ]
            } ]
        }, i;
    }(View);
    t.LoadingUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.MissionPageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Image",
                props: {
                    y: -500,
                    x: 0,
                    width: 1080,
                    skin: "characterSystem/c_bg.png",
                    height: 3e3
                }
            }, {
                type: "Image",
                props: {
                    y: 100,
                    x: 628,
                    top: 100,
                    skin: "characterSystem/c_cloud3.png",
                    right: 0
                }
            }, {
                type: "Image",
                props: {
                    y: 1046,
                    x: 0,
                    skin: "characterSystem/c_cloud2.png",
                    left: 0,
                    bottom: 700
                }
            }, {
                type: "Image",
                props: {
                    y: 700,
                    x: 500,
                    top: 700,
                    skin: "characterSystem/c_cloud1.png",
                    left: 500
                }
            }, {
                type: "Image",
                props: {
                    width: 237,
                    top: 50,
                    skin: "mission/m_mission.png",
                    left: 421,
                    height: 156
                }
            }, {
                type: "Box",
                props: {
                    y: -150,
                    x: 0,
                    width: 1080,
                    var: "missionTools",
                    height: 1920
                },
                child: [ {
                    type: "Box",
                    props: {
                        width: 271,
                        top: 403,
                        left: 86,
                        height: 514
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            skin: "mission/m_mbg.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            top: 101,
                            skin: "mission/m_store.png",
                            name: "award",
                            left: 25
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 198,
                            top: 378,
                            skin: "mission/m_lq.png",
                            sizeGrid: "0,25,0,25",
                            name: "getAward",
                            left: 38,
                            height: 88
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 313,
                            x: 99,
                            width: 80,
                            text: "200",
                            name: "awardTxt",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 18,
                            x: 57,
                            text: "第1位好友",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Box",
                    props: {
                        width: 271,
                        top: 403,
                        left: 404,
                        height: 514
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            skin: "mission/m_mbg.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            top: 101,
                            skin: "mission/m_store.png",
                            name: "award",
                            left: 25
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 198,
                            top: 378,
                            skin: "mission/m_lq.png",
                            sizeGrid: "0,25,0,25",
                            name: "getAward",
                            left: 38,
                            height: 88
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 313,
                            x: 99,
                            width: 80,
                            text: "宝箱",
                            name: "awardTxt",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 18,
                            x: 57,
                            text: "第2位好友",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Box",
                    props: {
                        width: 271,
                        top: 403,
                        left: 733,
                        height: 514
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            skin: "mission/m_mbg.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            top: 101,
                            skin: "mission/m_store.png",
                            name: "award",
                            left: 25
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 198,
                            top: 378,
                            skin: "mission/m_lq.png",
                            sizeGrid: "0,25,0,25",
                            name: "getAward",
                            left: 38,
                            height: 88
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 313,
                            x: 99,
                            width: 80,
                            text: "宝箱",
                            name: "awardTxt",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 18,
                            x: 57,
                            text: "第3位好友",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Box",
                    props: {
                        width: 271,
                        top: 955,
                        left: 82,
                        height: 514
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            skin: "mission/m_mbg.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            top: 101,
                            skin: "mission/m_store.png",
                            name: "award",
                            left: 25
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 198,
                            top: 378,
                            skin: "mission/m_lq.png",
                            sizeGrid: "0,25,0,25",
                            name: "getAward",
                            left: 38,
                            height: 88
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 313,
                            x: 99,
                            width: 80,
                            text: "宝箱",
                            name: "awardTxt",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 18,
                            x: 57,
                            text: "第4位好友",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Box",
                    props: {
                        width: 271,
                        top: 955,
                        left: 404,
                        height: 514
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            skin: "mission/m_mbg.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            top: 101,
                            skin: "mission/m_store.png",
                            name: "award",
                            left: 25
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 198,
                            top: 378,
                            skin: "mission/m_lq.png",
                            sizeGrid: "0,25,0,25",
                            name: "getAward",
                            left: 38,
                            height: 88
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 313,
                            x: 99,
                            width: 80,
                            text: "宝箱",
                            name: "awardTxt",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 18,
                            x: 57,
                            text: "第5位好友",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Box",
                    props: {
                        width: 271,
                        top: 955,
                        left: 733,
                        height: 514
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            skin: "mission/m_mbg.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            top: 101,
                            skin: "mission/m_store.png",
                            name: "award",
                            left: 25
                        }
                    }, {
                        type: "Image",
                        props: {
                            width: 198,
                            top: 378,
                            skin: "mission/m_lq.png",
                            sizeGrid: "0,25,0,25",
                            name: "getAward",
                            left: 38,
                            height: 88
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 313,
                            x: 99,
                            width: 80,
                            text: "宝箱",
                            name: "awardTxt",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 18,
                            x: 57,
                            text: "第6位好友",
                            fontSize: 35,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                } ]
            }, {
                type: "Image",
                props: {
                    y: 1371,
                    x: 393,
                    var: "inviteBtn",
                    skin: "mission/m_invitebig.png"
                }
            }, {
                type: "Image",
                props: {
                    width: 159,
                    var: "backBtn",
                    top: 1528,
                    skin: "mission/a_back.png",
                    left: 452,
                    height: 66
                }
            } ]
        }, i;
    }(View);
    t.MissionPageUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.PlayerBoxesUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                y: 0,
                x: 0,
                width: 1080,
                top: 0,
                skewY: 0,
                skewX: 0,
                scaleY: 1,
                scaleX: 1,
                right: 0,
                pivotY: 0,
                pivotX: 0,
                left: 0,
                height: 1920,
                centerY: 0,
                centerX: 0,
                bottom: 0,
                anchorY: 0,
                anchorX: 0
            },
            child: [ {
                type: "Image",
                props: {
                    y: -500,
                    x: 0,
                    width: 1080,
                    skin: "mission/m_bg.png",
                    height: 3e3
                }
            }, {
                type: "Image",
                props: {
                    y: 211,
                    x: 92,
                    skin: "playerBoxes/p_bg.png"
                }
            }, {
                type: "Image",
                props: {
                    y: 355,
                    x: 939,
                    var: "closeBtn",
                    skin: "playerBoxes/p_close.png"
                }
            }, {
                type: "Panel",
                props: {
                    y: 516,
                    x: 138,
                    width: 803,
                    var: "boxesPanel",
                    height: 1026
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 83,
                        x: 87,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 83,
                        x: 455,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 587,
                        x: 0,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 587,
                        x: 402,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 597,
                        x: 412,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 607,
                        x: 422,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 617,
                        x: 432,
                        width: 240,
                        skin: "game/playerm1.png",
                        height: 240
                    },
                    child: [ {
                        type: "Image",
                        props: {
                            y: 147,
                            x: 41,
                            skin: "playerBoxes/p_new.png"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 329,
                            x: 16,
                            skin: "playerBoxes/p_invite.png"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 283,
                            x: -13,
                            width: 263,
                            text: "剩余时间: 00:05:00",
                            fontSize: 30,
                            color: "#ffffff",
                            align: "center"
                        }
                    } ]
                } ]
            } ]
        }, i;
    }(View);
    t.PlayerBoxesUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.RankPageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Image",
                props: {
                    y: 304,
                    x: 61,
                    width: 958,
                    top: 304,
                    skin: "rank/rank_score.png",
                    left: 61,
                    height: 149
                }
            }, {
                type: "Image",
                props: {
                    y: 480,
                    x: 61,
                    width: 958,
                    top: 480,
                    skin: "rank/rank_list.png",
                    left: 61,
                    height: 950
                }
            }, {
                type: "Sprite",
                props: {
                    y: 305,
                    x: 70,
                    width: 940,
                    var: "rankSprite",
                    height: 1200
                }
            }, {
                type: "Image",
                props: {
                    width: 480,
                    var: "friendBg",
                    top: 1430,
                    skin: "rank/rank_nochoose.png",
                    left: 59,
                    height: 116
                }
            }, {
                type: "Image",
                props: {
                    width: 480,
                    var: "globalBg",
                    top: 1430,
                    skin: "rank/rank_choose.png",
                    sizeGrid: "0,0,0,0",
                    left: 539,
                    height: 116
                }
            }, {
                type: "Image",
                props: {
                    y: 1450,
                    x: 106,
                    width: 357,
                    var: "friendRankBtn",
                    skin: "rank/rank_friend.png",
                    height: 64
                }
            }, {
                type: "Image",
                props: {
                    y: 1450,
                    x: 596,
                    width: 357,
                    var: "globalRankBtn",
                    skin: "rank/rank_bottom.png",
                    height: 64
                }
            }, {
                type: "Image",
                props: {
                    width: 250,
                    var: "previousBtn",
                    top: 1580,
                    skin: "rank/rank_nextpage.png",
                    left: 84,
                    height: 94
                }
            }, {
                type: "Image",
                props: {
                    width: 250,
                    var: "nextBtn",
                    top: 1580,
                    skin: "rank/rank_lastpage.png",
                    right: 84,
                    height: 94
                }
            }, {
                type: "Image",
                props: {
                    width: 151,
                    var: "mainBtn",
                    top: 1720,
                    skin: "rank/rank_backhome.png",
                    left: 464,
                    height: 151
                }
            }, {
                type: "Image",
                props: {
                    width: 32,
                    var: "friendDir",
                    top: 1410,
                    skin: "rank/rank_trangle.png",
                    left: 130,
                    height: 16
                }
            }, {
                type: "Image",
                props: {
                    width: 32,
                    var: "globalDir",
                    top: 1410,
                    skin: "rank/rank_trangle.png",
                    left: 614,
                    height: 16
                }
            }, {
                type: "Image",
                props: {
                    width: 196,
                    var: "showGroupRankBtn",
                    top: 1611,
                    skin: "rank/rank_gotogroup.png",
                    left: 442,
                    height: 45
                }
            }, {
                type: "Box",
                props: {
                    y: 0,
                    x: 0,
                    width: 1080,
                    var: "globalRank",
                    height: 1920
                },
                child: [ {
                    type: "Box",
                    props: {
                        width: 1080,
                        var: "myInfo",
                        height: 1920
                    },
                    child: [ {
                        type: "Text",
                        props: {
                            y: 345,
                            x: 100,
                            text: "1",
                            fontSize: 60,
                            color: "#ffffff"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 365,
                            x: 465,
                            text: "LEOU",
                            fontSize: 25,
                            color: "#e0d7d7"
                        }
                    }, {
                        type: "Text",
                        props: {
                            y: 355,
                            x: 685,
                            width: 180,
                            text: "930",
                            fontSize: 45,
                            color: "#ffffff",
                            align: "right"
                        }
                    }, {
                        type: "Image",
                        props: {
                            y: 325,
                            x: 270,
                            width: 110,
                            skin: "rank/defaultimg.png",
                            height: 110
                        }
                    } ]
                }, {
                    type: "Box",
                    props: {
                        width: 1080,
                        var: "allRank",
                        height: 1920
                    },
                    child: [ {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 510,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 530,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 518,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 510,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 628,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 648,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 636,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 628,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 746,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 766,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 754,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 746,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 864,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 884,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 872,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 864,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 982,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1002,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 990,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 982,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 1100,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1120,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1108,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 1100,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 1218,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1238,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1226,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 1218,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    }, {
                        type: "Box",
                        props: {
                            width: 1080,
                            height: 1920
                        },
                        child: [ {
                            type: "Text",
                            props: {
                                y: 1336,
                                x: 95,
                                text: "1",
                                fontSize: 60,
                                color: "#ffffff"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1356,
                                x: 466,
                                text: "LEOU",
                                fontSize: 23,
                                color: "#e0d7d7"
                            }
                        }, {
                            type: "Text",
                            props: {
                                y: 1344,
                                x: 685,
                                width: 180,
                                text: "930",
                                fontSize: 45,
                                color: "#ffffff",
                                align: "right"
                            }
                        }, {
                            type: "Image",
                            props: {
                                y: 1336,
                                x: 269,
                                width: 67,
                                height: 67
                            }
                        } ]
                    } ]
                } ]
            } ]
        }, i;
    }(View);
    t.RankPageUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.RevivePageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Box",
                props: {
                    y: -80,
                    width: 1080,
                    var: "useReviveCardPage",
                    height: 1920
                },
                child: [ {
                    type: "Image",
                    props: {
                        y: 1316,
                        x: 78,
                        width: 951,
                        var: "nearFriend",
                        skin: "plugins/beyond.png",
                        height: 186
                    },
                    child: [ {
                        type: "Text",
                        props: {
                            y: 68,
                            x: 866,
                            width: 78,
                            text: "分",
                            height: 79,
                            fontSize: 50,
                            color: "#ffffff",
                            align: "left"
                        }
                    } ]
                }, {
                    type: "Image",
                    props: {
                        y: 364,
                        x: 65,
                        width: 951,
                        skin: "plugins/p_revivebg.png",
                        height: 851
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 1100,
                        x: 150,
                        var: "shareBtn",
                        skin: "plugins/p_sharerevive.png"
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 1100,
                        x: 530,
                        width: 431,
                        var: "watchVideo",
                        skin: "plugins/watchvideo.png",
                        height: 170
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 1100,
                        x: 580,
                        width: 348,
                        var: "costBtn",
                        skin: "plugins/p_costrevive1.png",
                        height: 170
                    }
                }, {
                    type: "Image",
                    props: {
                        y: 1538,
                        x: 512,
                        width: 107,
                        var: "skip",
                        skin: "plugins/skip.png",
                        height: 56
                    }
                }, {
                    type: "Text",
                    props: {
                        y: 610,
                        x: 0,
                        width: 1080,
                        var: "score",
                        text: "1000",
                        height: 200,
                        fontSize: 200,
                        color: "#ffffff",
                        align: "center"
                    }
                } ]
            }, {
                type: "Sprite",
                props: {
                    y: 1224,
                    x: 81,
                    width: 951,
                    var: "rankSprite",
                    height: 203
                }
            } ]
        }, i;
    }(View);
    t.RevivePageUI = e;
}(ui || (ui = {})), function(t) {
    var e = function(e) {
        function i() {
            return e.call(this) || this;
        }
        return __extends(i, e), i.prototype.createChildren = function() {
            View.regComponent("Text", laya.display.Text), e.prototype.createChildren.call(this), 
            this.createView(t.TipsPageUI.uiView);
        }, i.uiView = {
            type: "View",
            props: {
                width: 1080,
                height: 1920
            },
            child: [ {
                type: "Box",
                props: {
                    width: 1080,
                    var: "tips",
                    height: 1920
                },
                child: [ {
                    type: "Image",
                    props: {
                        width: 1080,
                        skin: "game/tips.png",
                        left: 0,
                        height: 1388,
                        bottom: 0
                    }
                } ]
            }, {
                type: "Text",
                props: {
                    y: 262,
                    width: 1080,
                    var: "scoreText",
                    text: "0",
                    fontSize: 174,
                    color: "#ffffff",
                    align: "center"
                }
            } ]
        }, i;
    }(View);
    t.TipsPageUI = e;
}(ui || (ui = {}));

var gameManager = new GameManager();

gameManager.preload();